package com.sinochem.yunlian.ship.api.vo.trade;

import com.sinochem.yunlian.ship.api.vo.uc.UcUserInfo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Auther: zzd
 * @Dscription:  更新订单
 * @Date: Create in 2017/11/24 19:11
 **/
@Data
public class UpdateOrderForm {

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 备注信息
     */
    private String remark;

    /**
     *  0  取消订单;   1  完成订单
     */
    private Integer handlerType;

    /**
     *  0 货主端取消 1 船东端取消  2 协商取消
     */
    private Integer cancelType;

    /**
     * 取消理由
     */
    private String cancelReason;

    /**
     * 结算URLs
     */
    private List<UrlInfo> settleUrls;

    /**
     * 合同URLs
     */
    private List<UrlInfo> contractUrls;

    @Data
    public static class UrlInfo{
        private String fileName;
        private String url;
    }

    private UcUserInfo userInfo;

}
